
ticketHub.controller('orderDetailCtrls',function($scope,$http,$stateParams){	
	var orderID = $stateParams.orderID;
	$http({
		url:'../order/detail',
		method:'post',
		data:{
		    "orderID": orderID
		}
		
	})
	.then(function(data){
		$scope.orderID=data.data.data.orderDetailQueryV2Response.orderDetail.orderID;//订单号
		$scope.orderStatus=data.data.data.orderDetailQueryV2Response.orderDetail.orderStatus;//订单状态
		$scope.orderRemark=data.data.data.orderDetailQueryV2Response.orderDetail.orderRemark;//订单备注
		$scope.payInfo=data.data.data.orderDetailQueryV2Response.orderDetail.payInfo;//支付方式map
		$scope.flightSchedule=data.data.data.orderDetailQueryV2Response.orderDetail.flightSchedule;//航班信息list
		$scope.passengers=data.data.data.orderDetailQueryV2Response.orderDetail.passengers;//报价信息passengers的list
		$scope.deliveryInfo=data.data.data.orderDetailQueryV2Response.orderDetail.deliveryInfo;//配送方式
	})
})
	
	
